// NBTSTATDlg.h : header file
//

#if !defined(AFX_NBTSTATDLG_H__DE6CDDC7_A43B_11D5_A956_0050BA0F0366__INCLUDED_)
#define AFX_NBTSTATDLG_H__DE6CDDC7_A43B_11D5_A956_0050BA0F0366__INCLUDED_

#include "UDP.h"	// Added by ClassView
#include "afxcmn.h"
#include "afxwin.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CNBTSTATDlg dialog

class CNBTSTATDlg : public CDialog
{
// Construction
public:
	void OnReceive();
	void clear();
	CUDP m_UDPSocket;
	CString	m_strIP;
	//CString	m_strIP2;

	CNBTSTATDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CNBTSTATDlg)
	enum { IDD = IDD_NBTSTAT_DIALOG };
	CSpinButtonCtrl	m_spin;
	CListBox	m_ListBox;
	CIPAddressCtrl	m_IPEdit2;
	CListCtrl	m_ListView;
	CIPAddressCtrl	m_IPEdit1;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNBTSTATDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CNBTSTATDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBtnSend();
	afx_msg void OnFieldchangedIpaddress1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBtnExit();
	afx_msg void OnBtnAbout();
//	afx_msg void OnDblclkListView(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedBtnIpModify();
//	afx_msg void OnHdnItemclickList3(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnNMClickList3(NMHDR *pNMHDR, LRESULT *pResult);
	CIPAddressCtrl m_IpAddr;
	CIPAddressCtrl m_Netmask;
	CIPAddressCtrl m_Gatway;
	CButton b_ModifyButton;
	afx_msg void OnEnChangeEdit5();
	afx_msg void OnEnChangeEdit3();
	CEdit m_PUID;
	CEdit m_DomainID;
	CEdit m_ServerPort;
	afx_msg void OnBnClickedBtnServerInfo();
	CIPAddressCtrl m_ServerIp;
	CIPAddressCtrl m_PuIp;
	afx_msg void OnIpnFieldchangedIpaddrPuip(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnDeltaposSpin1(NMHDR *pNMHDR, LRESULT *pResult);
//	afx_msg void OnBnClickedButton1();
	afx_msg void OnLbnSelchangeList1();
	afx_msg void OnLbnDblclkList1();
	CEdit m_FactoryCode;
	afx_msg void OnEnChangeFactoryCode();
	afx_msg void OnLvnItemchangedList3(NMHDR *pNMHDR, LRESULT *pResult);
	CButton m_PppoeEnable;
	CEdit m_PppoeUser;
	CEdit m_PppoePwd;
	CIPAddressCtrl m_PppoeAddr;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NBTSTATDLG_H__DE6CDDC7_A43B_11D5_A956_0050BA0F0366__INCLUDED_)
